package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 物流网络规划候选点
 *
 * @author huangtao
 */
@TableName(value = "glc_network_candidate")
public class NetworkCandidate implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id; //主键

    @TableField(value = "batch_id")
    private Long batchId; //批次号

    @TableField(value = "candidate_point")
    private String candidatePoint;//候选点的名称

    @TableField(value = "type")
    private Integer type;

    @TableField(value = "type1")
    private Integer type1;


    @TableField(value = "operator_id")
    private Long operatorId;//操作人

    @TableField(value = "create_time")
    private Date createTime; //创建日期

    @TableField(exist = false)
    private String batchName; //批次名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBatchId() {
        return batchId;
    }

    public void setBatchId(Long batchId) {
        this.batchId = batchId;
    }

    public String getCandidatePoint() {
        return candidatePoint;
    }

    public void setCandidatePoint(String candidatePoint) {
        this.candidatePoint = candidatePoint;
    }

    public Integer getType1() {
        return type1;
    }

    public void setType1(Integer type1) {
        this.type1 = type1;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }
}
